package cc.lj.internal.coupons.interfaces.dto.command;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@ApiModel("倍数模型添加接口参数")
public class MultipleModelAddCommand {

    @ApiModelProperty(value = "封顶额活动表主键")
    @DecimalMin("1")
    private Integer capId;

    @ApiModelProperty(value = "租金倍数")
    @NotNull
    private BigDecimal multipleNum;

    @ApiModelProperty(value = "活动天数")
    @DecimalMin("1")
    private Integer dayNum;

}
